<!DOCTYPE HTML>
<html>
<head>
    <include file="Common:header_include"/>
    <title>添加医药</title>
</head>
<body>
<div class="pd-20">
    <form action="{:U('add')}" method="post" class="form form-horizontal" id="form">
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>所属类型：</label>
            <div class="formControls col-8">
                <span class="select-box">
                <select class="select Validform_error" size="1" name="typeid" datatype="*" nullmsg="请选择">
                    <option value="" selected="" disabled="disabled">请选择</option>
                    <volist name=":getList(medicinetype)" id="v">
                            <option value="{$v.id}">{$v.name}</option>
                    </volist>
                </select>
                </span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>药品名称：</label>
            <div class="formControls col-8">
                <input type="text" class="input-text" placeholder="请输入" name="name" datatype="*" nullmsg="不能为空">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>缩略图：</label>
            <div class="formControls col-8">
                <input type="file" class="input-text" placeholder="请输入" name="coverFile">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>英文名称：</label>
            <div class="formControls col-8">
                <input type="text" class="input-text" placeholder="请输入" name="name_en" >
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>缩略英文名称：</label>
            <div class="formControls col-8">
                <input type="text" class="input-text" placeholder="请输入" name="short_name_en" >
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>药品剂量：</label>
            <div class="formControls col-8">
                <select class="select Validform_error" size="1" name="dose" >
                    <option value="" selected="" disabled="disabled">请选择</option>
                    <volist name=":getList(doseinfo)" id="v">
                        <option value="{$v.id}">{$v.name}</option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>注意事项：</label>
            <div class="formControls col-8">
                <textarea rows="8" cols="48" name="usedesc" class="textarea"  placeholder="请输入"></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>描述：</label>
            <div class="formControls col-8">
                <textarea rows="8" cols="48" name="description" class="textarea" autofocus="autofocus" style="resize: none" placeholder="请输入"></textarea>
            </div>
        </div>
        <div class="row cl">
            <div class="col-9 col-offset-3">
                <input class="btn btn-primary radius" type="submit" value="提交">
            </div>
        </div>
    </form>
</div>
<include file="Common:footer_include"/>
</body>
</html>